package com.szp.spCloud.codeService;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EntityScan(basePackages={"com.szp.spCloud.common.pojo"})
@ComponentScan(basePackages = {"com.szp.spCloud.common.service.*","com.szp.spCloud.codeService"})
public class CodeApplication {
    public static void main(String[] args) {
        SpringApplication.run(CodeApplication.class);
    }
}
